home *** CD-ROM | disk | FTP | other *** search
- on mouseDown
- global nVolum
- if nVolum > 0 then
- set nVolum to nVolum - 1
- set the soundLevel to nVolum
- set the member of sprite 4 to member string(nVolum) of castLib "Elementos graficos"
- updateStage()
- end if
- startTimer()
- repeat while the stillDown
- if the timer > 30 then
- if nVolum > 0 then
- set nVolum to nVolum - 1
- set the soundLevel to nVolum
- set the member of sprite 4 to member string(nVolum) of castLib "Elementos graficos"
- updateStage()
- end if
- end if
- end repeat
- end
-